using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class StartPanel : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        AdManager.Instance.ShowBanner();
        if (!AdManager.Instance.ZiTanIsBeGin && !AdManager.Instance.ShieldAddress)
        {
            AdManager.Instance.ZiTanIsBeGin = true;
            AdManager.Instance.NativeZiTan(30);
        }
    }

    //开始游戏
    public void GameStar()
    {
        SceneManager.LoadScene("Game");
    }

    //点击隐私
    public void Hide()
    {
        PrivacyPanel.Show(GameObject.Find("Canvas").transform);
    }
}
